import { defineStore } from "pinia";

export const useGlobalStore = defineStore("globalData", {
  state: () => {
    return {
    };
  },
  actions: {
    setState(obj: any) {
      let that: any = this

      Object.keys(obj).forEach(key => {
        that[key] = obj[key]
      })
    },
  },
});
